//
//  UIViewController+collectionView.m
//  zxc
//
//  Created by delicious on 2018/1/13.
//  Copyright © 2018年 李李善. All rights reserved.
//

#import "UIViewController+collectionView.h"
#import "UIViewController+page.h"
@implementation UIViewController (collectionView)
/**
 *  cell初始化控件需要的数据
 *
 *  @param indexPath cell所在的indexPath
 *
 *  @return 需要的数据
 */
-(id _Nullable)cellInitForSourceAtIndexPath:(NSIndexPath *)indexPath
{
    return nil;
}

-(MCCollVCellInfo *)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)layout cellForIndexPath:(NSIndexPath *)indexPath sectionAtIndex:(NSInteger)section IsSection:(BOOL)isSection
{
    return [MCCollVCellInfo configForCellId:cell0 Class:[BaseCollectionViewCell class] Line:CGFLOAT_MIN Interitem:CGFLOAT_MIN CollectionView:collectionView SizeCell:CGSizeZero InsetsCell:UIEdgeInsetsZero IsSection:isSection];
}

-(void)onSetSubviewSELForCell:(UICollectionViewCell *)cell forCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath
{
    
}

-(void)onSetSubviewSELForFooderView:(BaseCollectionReusableView *)fooderView forCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath
{
    
}

-(void)onSetSubviewSELForHeaderView:(BaseCollectionReusableView *)headerView forCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath
{
    
}


-(MCReusableViewInfo *)collectionView:(UICollectionView *)collectionView HeaderSectionAtIndex:(NSInteger)section AtIndexPath:(NSIndexPath *)indexPath IsSize:(BOOL)isSize
{
    return [MCReusableViewInfo configForViewId:header1 CollectionView:collectionView SizeView:CGSizeZero IsSize:isSize];
    
}

-(MCReusableViewInfo *)collectionView:(UICollectionView *)collectionView FooderSectionAtIndex:(NSInteger)section AtIndexPath:(NSIndexPath *)indexPath IsSize:(BOOL)isSize
{
    return [MCReusableViewInfo configForViewId:foodter1 CollectionView:collectionView SizeView:CGSizeZero IsSize:isSize];
}

-(id _Nullable )modelForIndexPath:(NSIndexPath *)indexPath
{
    return nil;
}

-(id _Nullable )reusableHeadterModelForIndexPath:(NSIndexPath *)indePath
{
    return nil;
}
-(id _Nullable )reusableFoodterModelForIndexPath:(NSIndexPath *)indePath
{
    return nil;
}


@end
